.class public Lcom/netease/newsreader/activity/SpecialAritcleTwo;
.super Lcom/netease/newsreader/activity/BaseActivity;
.source "SpecialAritcleTwo.java"

# interfaces
.implements Landroid/view/GestureDetector$OnGestureListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Lcom/netease/newsreader/view/PullRefreshListView$OnRefreshListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/netease/newsreader/activity/SpecialAritcleTwo$ViewHolder;,
        Lcom/netease/newsreader/activity/SpecialAritcleTwo$ViewHolder1;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/netease/newsreader/activity/BaseActivity;",
        "Landroid/view/GestureDetector$OnGestureListener;",
        "Landroid/widget/AdapterView$OnItemClickListener;",
        "Lcom/netease/newsreader/view/PullRefreshListView$OnRefreshListener;"
    }
.end annotation


# static fields
.field public static final POSITION:Ljava/lang/String; = "position"

.field public static TAG:Ljava/lang/String;


# instance fields
.field private adapter:Lcom/netease/newsreader/util/GroupAdapter;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/netease/newsreader/util/GroupAdapter",
            "<",
            "Ljava/lang/String;",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private data:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private first:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field

.field private gestureScanner:Landroid/view/GestureDetector;

.field private grouplist:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/netease/newsreader/util/Pair",
            "<",
            "Ljava/lang/String;",
            "Ljava/util/ArrayList",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;>;>;"
        }
    .end annotation
.end field

.field private grouplistview:Lcom/netease/newsreader/util/GroupListView;

.field private handler:Landroid/os/Handler;

.field private headtitle:Ljava/lang/String;

.field private isreflash:Z

.field private mInflater:Landroid/view/LayoutInflater;

.field private mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

.field private menuMyCollectListener:Landroid/view/View$OnClickListener;

.field private menuMyCommentListener:Landroid/view/View$OnClickListener;

.field private menuRefreshListener:Landroid/view/View$OnClickListener;

.field private menuSettingListener:Landroid/view/View$OnClickListener;

.field private menu_1:Landroid/view/View;

.field private menu_2:Landroid/view/View;

.field private menu_display:Z

.field private menu_my_collect:Landroid/widget/LinearLayout;

.field private menu_my_comment:Landroid/widget/LinearLayout;

.field private menu_refresh:Landroid/widget/LinearLayout;

.field private menu_setting:Landroid/widget/LinearLayout;

.field private set_prefs:Landroid/content/SharedPreferences;

.field private sp:Landroid/content/SharedPreferences;

.field private specialID:Ljava/lang/String;

.field private specialarticle_list:Landroid/widget/ListView;

.field private themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

.field private top_image:Landroid/widget/ImageView;

.field private top_image_text:Landroid/widget/RelativeLayout;

.field private top_main_bottom:Landroid/widget/RelativeLayout;

.field private top_main_text:Landroid/widget/TextView;

.field private top_progressbar:Landroid/widget/ProgressBar;

.field private top_text:Landroid/widget/TextView;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 98
    const-string v0, "SpecialAritcle"

    sput-object v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->TAG:Ljava/lang/String;

    .line 81
    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 81
    invoke-direct {p0}, Lcom/netease/newsreader/activity/BaseActivity;-><init>()V

    .line 89
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->data:Ljava/util/List;

    .line 95
    const-string v0, ""

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialID:Ljava/lang/String;

    .line 96
    const-string v0, "\u4e13\u9898"

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->headtitle:Ljava/lang/String;

    .line 103
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->isreflash:Z

    .line 160
    iput-boolean v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    .line 190
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$1;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$1;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuRefreshListener:Landroid/view/View$OnClickListener;

    .line 202
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$2;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$2;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuMyCommentListener:Landroid/view/View$OnClickListener;

    .line 212
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$3;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$3;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuMyCollectListener:Landroid/view/View$OnClickListener;

    .line 223
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$4;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$4;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuSettingListener:Landroid/view/View$OnClickListener;

    .line 704
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$5;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$5;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->handler:Landroid/os/Handler;

    .line 81
    return-void
.end method

.method static synthetic access$0(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 160
    iput-boolean p1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    return-void
.end method

.method static synthetic access$1(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Lcom/netease/newsreader/util/GroupListView;
    .locals 1
    .parameter

    .prologue
    .line 84
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplistview:Lcom/netease/newsreader/util/GroupListView;

    return-object v0
.end method

.method static synthetic access$10(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 91
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$11(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Ljava/util/Map;Landroid/widget/ImageView;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 478
    invoke-direct {p0, p1, p2, p3}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->setHeaderPic(Ljava/util/Map;Landroid/widget/ImageView;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$12(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 92
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_text:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$13(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/widget/ListView;
    .locals 1
    .parameter

    .prologue
    .line 82
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialarticle_list:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$14(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/widget/RelativeLayout;
    .locals 1
    .parameter

    .prologue
    .line 90
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image_text:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method static synthetic access$15(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Ljava/util/ArrayList;
    .locals 1
    .parameter

    .prologue
    .line 86
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplist:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$16(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/view/LayoutInflater;
    .locals 1
    .parameter

    .prologue
    .line 100
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mInflater:Landroid/view/LayoutInflater;

    return-object v0
.end method

.method static synthetic access$17(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Lcom/netease/newsreader/util/ThemeSettingsHelper;
    .locals 1
    .parameter

    .prologue
    .line 101
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    return-object v0
.end method

.method static synthetic access$18(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Lcom/netease/newsreader/util/GroupAdapter;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 85
    iput-object p1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->adapter:Lcom/netease/newsreader/util/GroupAdapter;

    return-void
.end method

.method static synthetic access$19(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Lcom/netease/newsreader/util/GroupAdapter;
    .locals 1
    .parameter

    .prologue
    .line 85
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->adapter:Lcom/netease/newsreader/util/GroupAdapter;

    return-object v0
.end method

.method static synthetic access$2(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 93
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$20(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Ljava/util/List;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 623
    invoke-direct {p0, p1, p2}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->insertListToDB(Ljava/util/List;Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$21(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 704
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->handler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$3(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/widget/ProgressBar;
    .locals 1
    .parameter

    .prologue
    .line 88
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_progressbar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$4(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Ljava/util/List;
    .locals 1
    .parameter

    .prologue
    .line 89
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->data:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$5(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Ljava/util/ArrayList;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 86
    iput-object p1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplist:Ljava/util/ArrayList;

    return-void
.end method

.method static synthetic access$6(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Ljava/util/Map;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 94
    iput-object p1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->first:Ljava/util/Map;

    return-void
.end method

.method static synthetic access$7(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Landroid/content/SharedPreferences;
    .locals 1
    .parameter

    .prologue
    .line 99
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->sp:Landroid/content/SharedPreferences;

    return-object v0
.end method

.method static synthetic access$8(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 95
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialID:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)Ljava/util/Map;
    .locals 1
    .parameter

    .prologue
    .line 94
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->first:Ljava/util/Map;

    return-object v0
.end method

.method private findViews()V
    .locals 3

    .prologue
    .line 284
    const v0, 0x7f0c0159

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/netease/newsreader/util/GroupListView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplistview:Lcom/netease/newsreader/util/GroupListView;

    .line 285
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplistview:Lcom/netease/newsreader/util/GroupListView;

    invoke-virtual {v0}, Lcom/netease/newsreader/util/GroupListView;->getListView()Landroid/widget/ListView;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialarticle_list:Landroid/widget/ListView;

    .line 289
    const v0, 0x7f0c0158

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_main_bottom:Landroid/widget/RelativeLayout;

    .line 290
    const v0, 0x7f0c0008

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_main_text:Landroid/widget/TextView;

    .line 291
    const v0, 0x7f0c0070

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_progressbar:Landroid/widget/ProgressBar;

    .line 292
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_main_text:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->headtitle:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 293
    const-string v0, "layout_inflater"

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mInflater:Landroid/view/LayoutInflater;

    .line 294
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mInflater:Landroid/view/LayoutInflater;

    const v1, 0x7f03006f

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image_text:Landroid/widget/RelativeLayout;

    .line 295
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image_text:Landroid/widget/RelativeLayout;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image:Landroid/widget/ImageView;

    .line 296
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image:Landroid/widget/ImageView;

    const-string v1, "top_image"

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 297
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_image_text:Landroid/widget/RelativeLayout;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_text:Landroid/widget/TextView;

    .line 298
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_text:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 299
    const v0, 0x7f0c00ce

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    .line 301
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplistview:Lcom/netease/newsreader/util/GroupListView;

    new-instance v1, Lcom/netease/newsreader/activity/SpecialAritcleTwo$6;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$6;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/GroupListView;->setTopViewCallback(Lcom/netease/newsreader/util/GroupListView$TopViewCallback;)V

    .line 321
    invoke-direct {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->preparePullRefreshView()V

    .line 322
    return-void
.end method

.method private getData(Ljava/util/List;Ljava/lang/String;)V
    .locals 5
    .parameter
    .parameter "columnID"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 582
    .local p1, data:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "select * from news_list where news_col_id=\'"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 583
    invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\'"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 584
    const-string v4, " order by "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "news_index"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " ASC ,"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 585
    const-string v4, "news_auto_id"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " ASC ,"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 586
    const-string v4, "news_special_tname"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, " DESC "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    .line 582
    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 587
    .local v2, sql:Ljava/lang/String;
    iget-object v3, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->db:Landroid/database/sqlite/SQLiteDatabase;

    const/4 v4, 0x0

    invoke-virtual {v3, v2, v4}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;

    move-result-object v0

    .line 588
    .local v0, cursor:Landroid/database/Cursor;
    if-eqz v0, :cond_0

    invoke-interface {v0}, Landroid/database/Cursor;->getCount()I

    move-result v3

    if-eqz v3, :cond_0

    .line 589
    invoke-interface {p1}, Ljava/util/List;->clear()V

    .line 590
    const/4 v1, 0x0

    .line 591
    .local v1, map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-interface {v0}, Landroid/database/Cursor;->moveToFirst()Z

    :goto_0
    invoke-interface {v0}, Landroid/database/Cursor;->isAfterLast()Z

    move-result v3

    if-eqz v3, :cond_1

    .line 619
    .end local v1           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_0
    invoke-interface {v0}, Landroid/database/Cursor;->close()V

    .line 621
    return-void

    .line 592
    .restart local v1       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    :cond_1
    new-instance v1, Ljava/util/HashMap;

    .end local v1           #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 593
    .restart local v1       #map:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v3, "docid"

    .line 594
    const-string v4, "news_doc_id"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 593
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 595
    const-string v3, "imgsrc"

    .line 596
    const-string v4, "news_img_src"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 595
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 597
    const-string v3, "digest"

    .line 598
    const-string v4, "news_digest"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 597
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 599
    const-string v3, "replyCount"

    .line 600
    const-string v4, "news_reply_count"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 599
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 601
    const-string v3, "url"

    .line 602
    const-string v4, "news_url"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 601
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 603
    const-string v3, "title"

    .line 604
    const-string v4, "news_title"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 603
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 605
    const-string v3, "news_ptime"

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v3

    invoke-interface {v0, v3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v3

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    .line 606
    const-string v3, "ptime"

    const-string v4, "news_ptime"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 608
    :cond_2
    const-string v3, "hasImg"

    .line 609
    const-string v4, "news_is_hasimg"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 608
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 610
    const-string v3, "tname"

    .line 611
    const-string v4, "news_special_tname"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    .line 610
    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 612
    const-string v3, "index"

    const-string v4, "news_index"

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v4

    invoke-interface {v0, v4}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v3, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 615
    invoke-interface {p1, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 591
    invoke-interface {v0}, Landroid/database/Cursor;->moveToNext()Z

    goto/16 :goto_0
.end method

.method private initData()V
    .locals 3

    .prologue
    .line 142
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    .line 143
    .local v0, b:Landroid/os/Bundle;
    if-eqz v0, :cond_0

    .line 144
    const-string v1, "specialID"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialID:Ljava/lang/String;

    .line 148
    :cond_0
    const-string v1, "banner"

    const/4 v2, 0x0

    invoke-virtual {p0, v1, v2}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    iput-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->sp:Landroid/content/SharedPreferences;

    .line 150
    return-void
.end method

.method private insertListToDB(Ljava/util/List;Ljava/lang/String;)V
    .locals 21
    .parameter
    .parameter "columnID"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .line 624
    .local p1, data:Ljava/util/List;,"Ljava/util/List<Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;>;"
    const-string v4, ""

    .line 625
    .local v4, docid:Ljava/lang/String;
    const-string v5, ""

    .line 626
    .local v5, imgsrc:Ljava/lang/String;
    const-string v6, ""

    .line 627
    .local v6, digest:Ljava/lang/String;
    const-string v8, ""

    .line 628
    .local v8, url:Ljava/lang/String;
    const-string v7, ""

    .line 629
    .local v7, replyCount:Ljava/lang/String;
    const-string v9, ""

    .line 630
    .local v9, title:Ljava/lang/String;
    const-string v10, ""

    .line 631
    .local v10, ptime:Ljava/lang/String;
    const-string v14, "0"

    .line 632
    .local v14, hasimg:Ljava/lang/String;
    const-string v15, ""

    .line 633
    .local v15, specialid:Ljava/lang/String;
    const-string v16, ""

    .line 634
    .local v16, sepcialindex:Ljava/lang/String;
    const-string v17, ""

    .line 635
    .local v17, sepcialtname:Ljava/lang/String;
    const-string v18, ""

    .line 636
    .local v18, extendjson:Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V

    .line 637
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->db:Landroid/database/sqlite/SQLiteDatabase;

    move-object/from16 v0, p2

    invoke-static {v2, v0}, Lcom/netease/newsreader/db/DBUtils;->deleteDataToNewsListTabel(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;)V

    .line 642
    const/16 v20, 0x0

    .local v20, i:I
    :goto_0
    :try_start_0
    invoke-interface/range {p1 .. p1}, Ljava/util/List;->size()I

    move-result v2

    move/from16 v0, v20

    if-lt v0, v2, :cond_0

    .line 695
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 700
    :goto_1
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v2}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V

    .line 702
    return-void

    .line 644
    :cond_0
    :try_start_1
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "docid"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_c

    .line 645
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "docid"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    .line 648
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "imgsrc"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_1

    .line 649
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "imgsrc"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    .line 651
    :cond_1
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "digest"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_2

    .line 652
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "digest"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v6

    .line 654
    :cond_2
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "replyCount"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_3

    .line 655
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "replyCount"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v7

    .line 657
    :cond_3
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "url"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_4

    .line 658
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "url"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    .line 660
    :cond_4
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "title"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_5

    .line 661
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "title"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v9

    .line 663
    :cond_5
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "ptime"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_6

    .line 664
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "ptime"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    .line 666
    :cond_6
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "hasImg"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_7

    .line 667
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "hasImg"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v14

    .line 669
    :cond_7
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "specialID"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_8

    .line 670
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "specialID"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v15

    .line 672
    :cond_8
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "index"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_9

    .line 673
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "index"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v16

    .line 675
    :cond_9
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "tname"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_a

    .line 676
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "tname"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v17

    .line 678
    :cond_a
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "extendjson"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    if-eqz v2, :cond_b

    .line 679
    move-object/from16 v0, p1

    move/from16 v1, v20

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    const-string v3, "extendjson"

    invoke-virtual {v2, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v18

    .line 683
    :cond_b
    move-object/from16 v0, p0

    iget-object v2, v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 684
    const-string v11, ""

    const-string v12, "0"

    const-string v13, "N"

    move-object/from16 v3, p2

    .line 683
    invoke-static/range {v2 .. v18}, Lcom/netease/newsreader/db/DBUtils;->insertDataToNewsListTable(Landroid/database/sqlite/SQLiteDatabase;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    .line 642
    :cond_c
    :goto_2
    add-int/lit8 v20, v20, 0x1

    goto/16 :goto_0

    .line 690
    :catch_0
    move-exception v19

    .line 692
    .local v19, e:Ljava/lang/Exception;
    :try_start_2
    invoke-virtual/range {v19 .. v19}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto :goto_2

    .line 696
    .end local v19           #e:Ljava/lang/Exception;
    :catch_1
    move-exception v2

    goto/16 :goto_1
.end method

.method private loaddata(Z)V
    .locals 3
    .parameter "isreflash"

    .prologue
    const/4 v2, 0x0

    .line 435
    invoke-static {p0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 436
    const-string v0, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {p0, v0, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 441
    :cond_0
    :goto_0
    if-nez p1, :cond_1

    .line 442
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->data:Ljava/util/List;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialID:Ljava/lang/String;

    invoke-direct {p0, v0, v1}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getData(Ljava/util/List;Ljava/lang/String;)V

    .line 445
    :cond_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->data:Ljava/util/List;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->data:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_4

    .line 449
    invoke-static {p0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 450
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_progressbar:Landroid/widget/ProgressBar;

    invoke-virtual {v0, v2}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 451
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$8;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$8;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    .line 459
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$8;->start()V

    .line 476
    :goto_1
    return-void

    .line 438
    :cond_2
    if-nez p1, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    goto :goto_0

    .line 461
    :cond_3
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->handler:Landroid/os/Handler;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_1

    .line 464
    :cond_4
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$9;

    invoke-direct {v0, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$9;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    .line 472
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$9;->start()V

    goto :goto_1
.end method

.method private preparePullRefreshView()V
    .locals 2

    .prologue
    .line 325
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplistview:Lcom/netease/newsreader/util/GroupListView;

    const v1, 0x7f030052

    invoke-virtual {v0, v1}, Lcom/netease/newsreader/util/GroupListView;->setRefreshView(I)V

    .line 326
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplistview:Lcom/netease/newsreader/util/GroupListView;

    const-string v1, ""

    invoke-virtual {v0, v1, p0}, Lcom/netease/newsreader/util/GroupListView;->setOnRefreshListener(Ljava/lang/String;Lcom/netease/newsreader/view/PullRefreshListView$OnRefreshListener;)V

    .line 327
    return-void
.end method

.method private setAdapter()V
    .locals 0

    .prologue
    .line 403
    return-void
.end method

.method private setHeaderPic(Ljava/util/Map;Landroid/widget/ImageView;Ljava/lang/String;)V
    .locals 12
    .parameter
    .parameter "top_image"
    .parameter "key"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;",
            "Landroid/widget/ImageView;",
            "Ljava/lang/String;",
            ")V"
        }
    .end annotation

    .prologue
    .local p1, first:Ljava/util/Map;,"Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const v11, 0x7f02010c

    .line 479
    const-string v9, ""

    .line 480
    .local v9, imgsrc:Ljava/lang/String;
    if-nez p2, :cond_1

    .line 578
    :cond_0
    :goto_0
    return-void

    .line 481
    :cond_1
    invoke-interface {p1, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_2

    .line 482
    invoke-interface {p1, p3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v9

    .line 484
    :cond_2
    invoke-static {v9, p0}, Lcom/netease/newsreader/util/PicUtil;->getHeandBitMapURL(Ljava/lang/String;Landroid/content/Context;)Ljava/lang/String;

    move-result-object v9

    .line 485
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->set_prefs:Landroid/content/SharedPreferences;

    const-string v1, "downpic"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z

    move-result v7

    .line 486
    .local v7, downpic:Z
    if-eqz v9, :cond_0

    const-string v0, ""

    invoke-virtual {v9, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 487
    const-string v0, "/"

    invoke-virtual {v9, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v1

    invoke-virtual {v9, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/netease/newsreader/util/PicUtil;->isLocalPicExit(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    .line 488
    new-instance v6, Ljava/lang/ref/WeakReference;

    .line 489
    const-string v0, "/"

    invoke-virtual {v9, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    invoke-virtual {v9}, Ljava/lang/String;->length()I

    move-result v1

    invoke-virtual {v9, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    invoke-virtual {v1, v11}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    .line 488
    invoke-static {v0, v1}, Lcom/netease/newsreader/util/PicUtil;->readTempJPEGFile(Ljava/lang/String;Landroid/graphics/drawable/Drawable;)Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-direct {v6, v0}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    .line 491
    .local v6, bitmapReference:Ljava/lang/ref/WeakReference;,"Ljava/lang/ref/WeakReference<Landroid/graphics/Bitmap;>;"
    invoke-virtual {v6}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/graphics/Bitmap;

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_0

    .line 493
    .end local v6           #bitmapReference:Ljava/lang/ref/WeakReference;,"Ljava/lang/ref/WeakReference<Landroid/graphics/Bitmap;>;"
    :cond_3
    const/4 v10, 0x0

    .line 494
    .local v10, w:I
    const/4 v8, 0x0

    .line 496
    .local v8, h:I
    const-string v0, "banner"

    invoke-virtual {v0, p3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 498
    iget v10, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->screenwidth:I

    .line 499
    iget v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->screenwidth:I

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->getSpecialBannerCutHeadPicHeight(I)I

    move-result v8

    .line 507
    :goto_1
    move-object v3, v9

    .line 508
    .local v3, url:Ljava/lang/String;
    move v4, v10

    .line 509
    .local v4, bitmapW:I
    move v5, v8

    .line 511
    .local v5, bitmapH:I
    invoke-static {v7, p0}, Lcom/netease/newsreader/util/Tools;->isshowimg(ZLandroid/content/Context;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 512
    new-instance v0, Lcom/netease/newsreader/activity/SpecialAritcleTwo$10;

    move-object v1, p0

    move-object v2, p2

    invoke-direct/range {v0 .. v5}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$10;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;Landroid/widget/ImageView;Ljava/lang/String;II)V

    .line 571
    invoke-virtual {v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$10;->start()V

    goto/16 :goto_0

    .line 502
    .end local v3           #url:Ljava/lang/String;
    .end local v4           #bitmapW:I
    .end local v5           #bitmapH:I
    :cond_4
    iget v10, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->screenwidth:I

    .line 503
    iget v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->screenwidth:I

    invoke-static {v0}, Lcom/netease/newsreader/util/Tools;->getCutHeadPicHeight(I)I

    move-result v8

    .line 504
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v11}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {p2, v0}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_1
.end method

.method private setListeners()V
    .locals 2

    .prologue
    .line 421
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialarticle_list:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 423
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_main_bottom:Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/netease/newsreader/activity/SpecialAritcleTwo$7;

    invoke-direct {v1, p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo$7;-><init>(Lcom/netease/newsreader/activity/SpecialAritcleTwo;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 432
    return-void
.end method

.method private setMenu()V
    .locals 5

    .prologue
    .line 168
    const-string v2, "layout_inflater"

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    .line 169
    .local v0, inflater:Landroid/view/LayoutInflater;
    const v2, 0x7f03006a

    const/4 v3, 0x0

    invoke-virtual {v0, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 170
    .local v1, layout:Landroid/view/View;
    const v2, 0x7f0c0034

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_1:Landroid/view/View;

    .line 171
    const v2, 0x7f0c0037

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_2:Landroid/view/View;

    .line 172
    const v2, 0x7f0c00d2

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_refresh:Landroid/widget/LinearLayout;

    .line 173
    const v2, 0x7f0c00f0

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_comment:Landroid/widget/LinearLayout;

    .line 174
    const v2, 0x7f0c00d5

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_setting:Landroid/widget/LinearLayout;

    .line 175
    const v2, 0x7f0c00d4

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_collect:Landroid/widget/LinearLayout;

    .line 177
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_refresh:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuRefreshListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 178
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_comment:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuMyCommentListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 179
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_setting:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuSettingListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 180
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_collect:Landroid/widget/LinearLayout;

    iget-object v3, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuMyCollectListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 183
    new-instance v2, Landroid/widget/PopupWindow;

    const/4 v3, -0x1

    const/4 v4, -0x2

    invoke-direct {v2, v1, v3, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    .line 184
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    const v3, 0x7f0a002f

    invoke-virtual {v2, v3}, Landroid/widget/PopupWindow;->setAnimationStyle(I)V

    .line 186
    const/4 v2, 0x0

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    .line 187
    return-void
.end method


# virtual methods
.method public dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 3
    .parameter "ev"

    .prologue
    .line 266
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v2

    if-eqz v2, :cond_0

    .line 267
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v2}, Landroid/widget/PopupWindow;->dismiss()V

    .line 268
    const/4 v2, 0x0

    iput-boolean v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    .line 269
    const/4 v1, 0x1

    .line 279
    :goto_0
    return v1

    .line 272
    :cond_0
    iget-object v2, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->gestureScanner:Landroid/view/GestureDetector;

    invoke-virtual {v2, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    .line 273
    const/4 v1, 0x0

    .line 275
    .local v1, result:Z
    :try_start_0
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->dispatchTouchEvent(Landroid/view/MotionEvent;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 276
    :catch_0
    move-exception v0

    .line 277
    .local v0, e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public doRefresh(Ljava/lang/String;)V
    .locals 2
    .parameter "tag"

    .prologue
    .line 389
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_progressbar:Landroid/widget/ProgressBar;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 390
    const/4 v0, 0x1

    invoke-direct {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->loaddata(Z)V

    .line 392
    return-void
.end method

.method public goBackClick(Landroid/view/View;)V
    .locals 0
    .parameter "view"

    .prologue
    .line 234
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->finish()V

    .line 235
    return-void
.end method

.method public onApplyTheme()V
    .locals 8

    .prologue
    const v7, 0x7f080015

    const v6, 0x7f02007f

    const v5, 0x7f02007e

    const v4, 0x7f080011

    const/4 v3, 0x1

    .line 897
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onApplyTheme()V

    .line 898
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->top_main_text:Landroid/widget/TextView;

    const v2, 0x7f080025

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 899
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c006f

    const v2, 0x7f020089

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 900
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0158

    const v2, 0x7f0200fe

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/app/Activity;II)V

    .line 901
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialarticle_list:Landroid/widget/ListView;

    const v2, 0x7f020070

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setListViewDivider(Landroid/content/Context;Landroid/widget/ListView;I)V

    .line 902
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0157

    const v2, 0x7f080029

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/app/Activity;II)V

    .line 904
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_1:Landroid/view/View;

    invoke-virtual {v0, p0, v1, v7}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/content/Context;Landroid/view/View;I)V

    .line 905
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_2:Landroid/view/View;

    invoke-virtual {v0, p0, v1, v7}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroudColor(Landroid/content/Context;Landroid/view/View;I)V

    .line 907
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_refresh:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0, v1, v5}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 908
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_refresh:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v1, p0, v0, v4}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 909
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_comment:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0, v1, v5}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 910
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_comment:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v1, p0, v0, v4}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 912
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_setting:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0, v1, v6}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 913
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_setting:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v1, p0, v0, v4}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 914
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_collect:Landroid/widget/LinearLayout;

    invoke-virtual {v0, p0, v1, v6}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setViewBackgroud(Landroid/content/Context;Landroid/view/View;I)V

    .line 915
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_my_collect:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    invoke-virtual {v1, p0, v0, v4}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setTextViewColor(Landroid/content/Context;Landroid/widget/TextView;I)V

    .line 917
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    const v1, 0x7f0c0002

    const v2, 0x7f020041

    invoke-virtual {v0, p0, v1, v2}, Lcom/netease/newsreader/util/ThemeSettingsHelper;->setImageViewSrc(Landroid/app/Activity;II)V

    .line 920
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1
    .parameter "savedInstanceState"

    .prologue
    .line 108
    invoke-super {p0, p1}, Lcom/netease/newsreader/activity/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 109
    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->requestWindowFeature(I)Z

    .line 110
    const v0, 0x7f03006b

    invoke-virtual {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->setContentView(I)V

    .line 111
    invoke-virtual {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->getThemeSettingsHelper()Lcom/netease/newsreader/util/ThemeSettingsHelper;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->themeSettingsHelper:Lcom/netease/newsreader/util/ThemeSettingsHelper;

    .line 112
    invoke-static {p0}, Landroid/preference/PreferenceManager;->getDefaultSharedPreferences(Landroid/content/Context;)Landroid/content/SharedPreferences;

    move-result-object v0

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->set_prefs:Landroid/content/SharedPreferences;

    .line 113
    new-instance v0, Landroid/view/GestureDetector;

    invoke-direct {v0, p0}, Landroid/view/GestureDetector;-><init>(Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->gestureScanner:Landroid/view/GestureDetector;

    .line 114
    invoke-direct {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->initData()V

    .line 115
    invoke-direct {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViews()V

    .line 116
    invoke-direct {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->setAdapter()V

    .line 117
    invoke-direct {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->setListeners()V

    .line 118
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->loaddata(Z)V

    .line 119
    invoke-direct {p0}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->setMenu()V

    .line 121
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 135
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onDestroy()V

    .line 136
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->data:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 137
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplist:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->grouplist:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 138
    :cond_0
    return-void
.end method

.method public onDown(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "e"

    .prologue
    .line 931
    const/4 v0, 0x0

    return v0
.end method

.method public onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 1
    .parameter "e1"
    .parameter "e2"
    .parameter "velocityX"
    .parameter "velocityY"

    .prologue
    .line 949
    const/4 v0, 0x0

    return v0
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 15
    .parameter
    .parameter "v"
    .parameter "position"
    .parameter "id"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 836
    .local p1, arg0:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    if-nez p3, :cond_1

    .line 893
    :cond_0
    :goto_0
    return-void

    .line 839
    :cond_1
    iget-object v12, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialarticle_list:Landroid/widget/ListView;

    invoke-virtual {v12}, Landroid/widget/ListView;->getHeaderViewsCount()I

    move-result v12

    sub-int p3, p3, v12

    .line 840
    iget-object v12, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->adapter:Lcom/netease/newsreader/util/GroupAdapter;

    move/from16 v0, p3

    invoke-virtual {v12, v0}, Lcom/netease/newsreader/util/GroupAdapter;->getRealPosition(I)Lcom/netease/newsreader/util/GroupAdapter$ItemPosition;

    move-result-object v6

    .line 842
    .local v6, iposition:Lcom/netease/newsreader/util/GroupAdapter$ItemPosition;,"Lcom/netease/newsreader/util/GroupAdapter$ItemPosition;"
    iget-object v12, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->adapter:Lcom/netease/newsreader/util/GroupAdapter;

    iget v13, v6, Lcom/netease/newsreader/util/GroupAdapter$ItemPosition;->group:I

    iget v14, v6, Lcom/netease/newsreader/util/GroupAdapter$ItemPosition;->pos:I

    invoke-virtual {v12, v13, v14}, Lcom/netease/newsreader/util/GroupAdapter;->getChild(II)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/HashMap;

    .line 844
    .local v2, child:Ljava/util/HashMap;,"Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;"
    if-eqz v2, :cond_0

    .line 848
    iget v12, v6, Lcom/netease/newsreader/util/GroupAdapter$ItemPosition;->group:I

    sub-int p3, p3, v12

    .line 852
    const-string v4, ""

    .line 853
    .local v4, docid:Ljava/lang/String;
    const-string v11, ""

    .line 854
    .local v11, url:Ljava/lang/String;
    const-string v5, ""

    .line 855
    .local v5, imgsrc:Ljava/lang/String;
    const-string v3, ""

    .line 856
    .local v3, digest:Ljava/lang/String;
    const-string v9, ""

    .line 857
    .local v9, replyCount:Ljava/lang/String;
    const-string v10, ""

    .line 858
    .local v10, title:Ljava/lang/String;
    const-string v8, ""

    .line 860
    .local v8, ptime:Ljava/lang/String;
    new-instance v7, Landroid/content/Intent;

    const-class v12, Lcom/netease/newsreader/activity/DetailPage;

    invoke-direct {v7, p0, v12}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 861
    .local v7, itemintent:Landroid/content/Intent;
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 862
    .local v1, b:Landroid/os/Bundle;
    const-string v12, "tname"

    const-string v13, "\u4e13\u9898"

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 864
    const-string v12, "docid"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_2

    const-string v4, ""

    .line 865
    :goto_1
    const-string v12, "url"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_3

    const-string v11, ""

    .line 866
    :goto_2
    const-string v12, "imgsrc"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_4

    const-string v5, ""

    .line 867
    :goto_3
    const-string v12, "digest"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_5

    const-string v3, ""

    .line 868
    :goto_4
    const-string v12, "replyCount"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_6

    const-string v9, ""

    .line 869
    :goto_5
    const-string v12, "title"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_7

    const-string v10, ""

    .line 870
    :goto_6
    const-string v12, "ptime"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    if-nez v12, :cond_8

    const-string v8, ""

    .line 875
    :goto_7
    if-eqz v4, :cond_9

    const-string v12, ""

    invoke-virtual {v4, v12}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v12

    if-nez v12, :cond_9

    .line 876
    const-string v12, "docid"

    invoke-virtual {v1, v12, v4}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 877
    const-string v12, "url"

    invoke-virtual {v1, v12, v11}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 878
    const-string v12, "imgsrc"

    invoke-virtual {v1, v12, v5}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 879
    const-string v12, "digest"

    invoke-virtual {v1, v12, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 880
    const-string v12, "replyCount"

    invoke-virtual {v1, v12, v9}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 881
    const-string v12, "title"

    invoke-virtual {v1, v12, v10}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 882
    const-string v12, "ptime"

    invoke-virtual {v1, v12, v8}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 884
    const-string v12, "tid"

    iget-object v13, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialID:Ljava/lang/String;

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 885
    const-string v12, "position"

    new-instance v13, Ljava/lang/StringBuilder;

    invoke-direct {v13}, Ljava/lang/StringBuilder;-><init>()V

    add-int/lit8 v14, p3, -0x1

    invoke-virtual {v13, v14}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v13

    invoke-virtual {v13}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v13

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 886
    const-string v12, "headLine"

    const/4 v13, 0x0

    invoke-virtual {v1, v12, v13}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 887
    invoke-virtual {v7, v1}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    .line 888
    invoke-virtual {p0, v7}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 864
    :cond_2
    const-string v12, "docid"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    goto/16 :goto_1

    .line 865
    :cond_3
    const-string v12, "url"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v11

    goto/16 :goto_2

    .line 866
    :cond_4
    const-string v12, "imgsrc"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v5

    goto/16 :goto_3

    .line 867
    :cond_5
    const-string v12, "digest"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    goto/16 :goto_4

    .line 868
    :cond_6
    const-string v12, "replyCount"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v9

    goto/16 :goto_5

    .line 869
    :cond_7
    const-string v12, "title"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v10

    goto/16 :goto_6

    .line 870
    :cond_8
    const-string v12, "ptime"

    invoke-virtual {v2, v12}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v8

    goto/16 :goto_7

    .line 890
    :cond_9
    const-string v12, "\u6253\u5f00\u65b0\u95fb\u6b63\u6587\u5931\u8d25"

    const/4 v13, 0x0

    invoke-static {p0, v12, v13}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v12

    invoke-virtual {v12}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 5
    .parameter "keyCode"
    .parameter "event"

    .prologue
    const/4 v0, 0x1

    const/4 v4, 0x0

    .line 239
    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    if-le v1, v0, :cond_0

    .line 240
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    .line 261
    :goto_0
    return v0

    .line 242
    :cond_0
    iget-boolean v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    if-eqz v1, :cond_1

    .line 243
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 244
    iput-boolean v4, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    goto :goto_0

    .line 247
    :cond_1
    const/16 v1, 0x52

    if-ne p1, v1, :cond_3

    .line 248
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v1

    if-nez v1, :cond_2

    .line 249
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    const v2, 0x7f0c0157

    invoke-virtual {p0, v2}, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const/16 v3, 0x51

    invoke-virtual {v1, v2, v3, v4, v4}, Landroid/widget/PopupWindow;->showAtLocation(Landroid/view/View;III)V

    .line 251
    iput-boolean v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    goto :goto_0

    .line 254
    :cond_2
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menuWindow:Landroid/widget/PopupWindow;

    invoke-virtual {v1}, Landroid/widget/PopupWindow;->dismiss()V

    .line 255
    iput-boolean v4, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    goto :goto_0

    .line 261
    :cond_3
    invoke-super {p0, p1, p2}, Lcom/netease/newsreader/activity/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method

.method public onLongPress(Landroid/view/MotionEvent;)V
    .locals 0
    .parameter "e"

    .prologue
    .line 956
    return-void
.end method

.method protected onPause()V
    .locals 1

    .prologue
    .line 155
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onPause()V

    .line 156
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->menu_display:Z

    .line 157
    return-void
.end method

.method public onPrepareRefresh(Ljava/lang/String;)Z
    .locals 3
    .parameter "tag"

    .prologue
    const/4 v0, 0x0

    .line 378
    invoke-static {p0}, Lcom/netease/newsreader/util/Tools;->CheckNetwork(Landroid/content/Context;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 379
    iget-object v1, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->mProgressbarLoadingLayout:Landroid/widget/LinearLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 380
    const-string v1, "\u7f51\u7edc\u8fde\u63a5\u9519\u8bef"

    invoke-static {p0, v1, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 383
    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method protected onResume()V
    .locals 1

    .prologue
    .line 126
    invoke-super {p0}, Lcom/netease/newsreader/activity/BaseActivity;->onResume()V

    .line 127
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->adapter:Lcom/netease/newsreader/util/GroupAdapter;

    if-eqz v0, :cond_0

    .line 128
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->adapter:Lcom/netease/newsreader/util/GroupAdapter;

    invoke-virtual {v0}, Lcom/netease/newsreader/util/GroupAdapter;->notifyDataSetChanged()V

    .line 130
    :cond_0
    return-void
.end method

.method public onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 1
    .parameter "e1"
    .parameter "e2"
    .parameter "distanceX"
    .parameter "distanceY"

    .prologue
    .line 961
    const/4 v0, 0x0

    return v0
.end method

.method public onShowPress(Landroid/view/MotionEvent;)V
    .locals 0
    .parameter "e"

    .prologue
    .line 968
    return-void
.end method

.method public onSingleTapUp(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "e"

    .prologue
    .line 973
    const/4 v0, 0x0

    return v0
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 1
    .parameter "event"

    .prologue
    .line 925
    iget-object v0, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->gestureScanner:Landroid/view/GestureDetector;

    invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result v0

    return v0
.end method

.method public updateRefreshView(Ljava/lang/String;Landroid/view/View;II)V
    .locals 9
    .parameter "tag"
    .parameter "view"
    .parameter "lastState"
    .parameter "state"

    .prologue
    const v8, 0x7f040011

    const/4 v7, 0x1

    const/4 v6, 0x4

    const/4 v5, 0x0

    .line 331
    const v4, 0x7f0c0121

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    .line 332
    .local v1, indicatorText:Landroid/widget/TextView;
    const v4, 0x7f0c0103

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 333
    .local v0, indicatorArrow:Landroid/view/View;
    const v4, 0x7f0c0123

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    .line 335
    .local v2, refreshPb:Landroid/view/View;
    if-nez p3, :cond_0

    .line 336
    const v4, 0x7f0c0122

    invoke-virtual {p2, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    .line 337
    .local v3, refreshTime:Landroid/widget/TextView;
    iget-object v4, p0, Lcom/netease/newsreader/activity/SpecialAritcleTwo;->specialID:Ljava/lang/String;

    invoke-static {p0, v4}, Lcom/netease/newsreader/util/StringUtil;->getRefreshTimeStr(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 340
    .end local v3           #refreshTime:Landroid/widget/TextView;
    :cond_0
    packed-switch p4, :pswitch_data_0

    .line 374
    :goto_0
    :pswitch_0
    return-void

    .line 345
    :pswitch_1
    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 346
    invoke-virtual {v2, v6}, Landroid/view/View;->setVisibility(I)V

    .line 347
    invoke-virtual {v0, v7}, Landroid/view/View;->setEnabled(Z)V

    .line 348
    const/4 v4, 0x2

    if-ne p3, v4, :cond_1

    .line 349
    invoke-static {p0, v8}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 352
    :cond_1
    const v4, 0x7f0b00af

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 356
    :pswitch_2
    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 357
    invoke-virtual {v2, v6}, Landroid/view/View;->setVisibility(I)V

    .line 358
    invoke-virtual {v0, v5}, Landroid/view/View;->setEnabled(Z)V

    .line 359
    if-ne p3, v7, :cond_2

    .line 360
    invoke-static {p0, v8}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 362
    :cond_2
    const v4, 0x7f0b00b0

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 366
    :pswitch_3
    invoke-virtual {v0, v6}, Landroid/view/View;->setVisibility(I)V

    .line 367
    invoke-virtual {v2, v5}, Landroid/view/View;->setVisibility(I)V

    .line 368
    invoke-virtual {v0}, Landroid/view/View;->clearAnimation()V

    .line 369
    const v4, 0x7f0b00b1

    invoke-virtual {v1, v4}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 340
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method
